package o;

import android.content.Context;
import com.huawei.appgallery.foundation.card.base.bean.BaseDistCardBean;
import com.huawei.appgallery.foundation.ui.framework.cardframe.bean.BaseCardBean;
import com.huawei.hwid.core.constants.HwAccountConstants;
import o.cii.c;

public class ejl implements c {
    public void ˏ(Context context, BaseCardBean baseCardBean) {
        if (baseCardBean instanceof BaseDistCardBean) {
            ejr.ˏ().ˏ(context, (BaseDistCardBean) baseCardBean);
            return;
        }
        String str;
        String str2 = "CardEventThirdAppListener";
        StringBuilder append = new StringBuilder().append("bean not instanceof BaseDistCardBean: ");
        if (baseCardBean == null) {
            str = HwAccountConstants.NULL;
        } else {
            str = baseCardBean.getClass().getSimpleName();
        }
        Logger.e(str2, append.append(str).toString());
    }
}
